- if @custom_field_questions.present?
  .new_listing_form_field_container
    - @custom_field_questions.each do |custom_field|
      - custom_field.with_type do |field_type|
        = label "custom_fields", "#{custom_field.id}".to_sym, "#{custom_field.name(I18n.locale)}#{custom_field.required ? '*' : ''}"
        = render :partial => "listings/form/custom_field_partials/#{field_type}", :locals => { :custom_field => custom_field, :custom_field_value => @listing.answer_for(custom_field) }
